package cn.exrick.xboot.base.vo

import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*

@ApiModel("企业培训实体")
data class EmployeeExamStatusListVo(

        @ApiModelProperty("培训id")
        var trainId: String? = null,

        @ApiModelProperty("培训轮播图")
        var trainPic: String? = null,

        @ApiModelProperty("培训标题")
        var trainTitle: String? = null,

        @ApiModelProperty("学习状态 1.未开启 2.学习中 3.完成")
        var studyStatus: Int? = 1,

        @ApiModelProperty("培训结束时间")
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        var trainEndTime: Date? = null,

        @ApiModelProperty("正式考试分支完成进度数")
        var completeProcess: Int? = 0
)